package com.yzt.message.adapter;

import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.yzt.zhuju.network.entity.message.GroupUserControllerBean;
import com.yzt.zhuju.widget.tuiview.TUIImageView;
import com.yzt.message.R;
import com.yzt.plugin_widget.RoundImageView;

/**
 * 作者：bobwang
 * 创建时间：2023-11-19 23:07:45
 * 描述：
 */
public class GroupUserControllerAdapter extends BaseQuickAdapter<GroupUserControllerBean, BaseViewHolder> {

    public GroupUserControllerAdapter() {
        super(R.layout.item_group_user_controller);
    }

    @Override
    protected void convert(BaseViewHolder helper, GroupUserControllerBean item) {
        RoundImageView roundImageView = helper.getView(R.id.img_header);
        TextView tv_name = helper.getView(R.id.tv_name);
        TUIImageView img_check = helper.getView(R.id.img_check);
        img_check.setSelected(item.isCheck());
    }
}
